fn main() {
    print ! ("(1..5): ");
    for i in 1..5 {
        print!("{}", i);
    }
    println!();

    print!("(1..=5).rev: ");
    for i in (1..=5).rev(){
        print!("{} ", i);
    }
    println!();

    let sum: i32 = (1..=5).sum();
    println!("1+2+3+4+5 = {}", sum);
}